package com.hakim.wfb.customer.service.convert;

import com.hakim.wfb.bean.WithdrawRecord;
import com.hakim.wfb.customer.result.trans.WithdrawRecordView;

/**
 * Created by Administrator on 2017/7/15.
 */
public class WithdrawRecordDtv {

    public static WithdrawRecordView convert(WithdrawRecord bean) {

        WithdrawRecordView view = new WithdrawRecordView();
        view.setTid(bean.getTid());
        view.setWrOrderno(bean.getWrOrderno());
        view.setWrType(bean.getWrAddrType());
        view.setWrAddr(bean.getWrAddr());
        view.setWrPointType(bean.getWrPointType());
        view.setWrPoint(bean.getWrPoint());
        view.setWrReusablePoint(bean.getWrReusablePoint());
        view.setWrWalfarePoint(bean.getWrWalfarePoint());
        view.setWrChargePoint(bean.getWrChargePoint());
        view.setWrCurrencyRate(bean.getWrCoinPrice());
        view.setWrCurrencyPoint(bean.getWrCoinAmount());
        view.setWrDate(bean.getWrWithdrawDate());
        view.setWrUser(bean.getWrUser());
        view.setWrPointTypeStr("");
        return view;
    }

}
